package com.bskj.common.bean.model;

import java.util.Date;
import java.util.List;

/**
 * Created by mocaijin on 23/01/2018.
 */
public class WxMenu implements BaseModel {
    /**
     * `id` int(11) DEFAULT NULL,
     * `app_id` varchar(255) DEFAULT NULL,
     * `name` varchar(255) DEFAULT NULL,
     * `key` varchar(255) DEFAULT NULL,
     * `type` varchar(255) DEFAULT NULL,
     * `url` varchar(255) DEFAULT NULL,
     * `parent_id` int(11) DEFAULT NULL
     */

    private Integer id;
    private String appId;
    private String name;
    private String key;
    private String type;
    private String url;
    private Integer parentId;
    private String roleType;


    private List<WxMenu> sub_button;

    private Date createTime; // 创建时间
    private Date updateTime; // 修改时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public List<WxMenu> getSub_button() {
        return sub_button;
    }

    public void setSub_button(List<WxMenu> sub_button) {
        this.sub_button = sub_button;
    }

    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }
}
